BMI\Plugin\Backup_Migration_Plugin D

Total Complexity 260
Dependencies 10
Dependents 6
Total lines 1,112
Lines of code 826
Logical lines of code 670
Comment lines 53
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
handle_downloading()
D
15
81 214
initialize()
B
38 24 57
execution_shutdown()
B
40 18 53
handle_cron_backup()
B
38 16 65
ajax()
A
43 15 44
sanitize()
A
52 10 23
fixLitespeed()
S
49 7 30
handle_cron_check()
S
53 7 21
handleErrorDuringBackup()
S
53 7 21
handle_after_cron()
S
51 6 24
revertLitespeed()
S
52 6 23
hotfix_patches()
S
53 6 20
handle_cron_error()
S
54 6 19
handleErrorDuringRestore()
S
57 5 15
send_notification_mail()
S
54 4 21
backup_inproper_time()
S
57 3 14
enqueue_scripts()
S
60 3 14
admin_notices()
S
61 3 12
res()
S
66 3 8
handle_crons()
S
65 3 8
readFileSensitive()
S
57 2 15
escapeSensitive()
S
57 2 15
humanSize()
S
68 3 5
get_next_cron()
S
60 2 13
randomString()
S
63 2 11
merge_arrays()
S
72 2 5
fixSlashes()
S
63 2 10
settings_page()
S
69 2 6
enqueue_styles()
S
71 2 5
admin_init_hook()
S
67 2 8
deactivation()
S
76 1 4
settings_action()
S
71 1 5
submenu()
S
67 1 7
set_last_cron()
S
74 1 4
email_error()
S
76 1 4
get_asset()
S
79 1 3